import http from "@/server/http";

//省市区获取单位信息
export const queryUnitInfo = (params) => {
    return http({
        url: "/common/login/AreasGetUnitInfo",
        method: "POST",
        data: params,
    })
}

//单位名称获取部门信息 
export const queryDepartmentInfo = (params) => {
    return http({
        url: "/common/login/UnitNameGetDepartmentInfo",
        method: "POST",
        data: params,
    })
}